package com.tbvtc.agriculturalcreditchainserver2025.service;

import com.tbvtc.agriculturalcreditchainserver2025.vo.CaptchaVo;
import com.tbvtc.agriculturalcreditchainserver2025.vo.LoginDto;
import com.tbvtc.agriculturalcreditchainserver2025.vo.UserVo;
import com.tbvtc.agriculturalcreditchainserver2025.vo.farmerVo.loginVo;

public interface AuthService {
    void registerFarmer(UserVo userVo);

    loginVo LoginFarmer(LoginDto userVo);

    CaptchaVo captcha();

    void getCode(String phone);


    void findPassword(String phone, String newPassword,String code);
}
